package com.yingxin.yxerp.module.print.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yingxin.yxerp.module.print.entity.PrintApply;
import com.yingxin.yxerp.module.print.vo.resp.PrintApplyRespVo;

/**
 * 打印申请 服务类
 * @author fanchao
 * @since 2022-03-21
 */

public interface IPrintApplyService extends IService<PrintApply> {

    /**
     * 根据 id 查询
     */
    PrintApplyRespVo getVo( String id );

    /**
     * 创建
     */
    void create(PrintApply apply);

    PrintApply getWaitingPrintApply(String businessId, String BusinessType, String userId);

    void updatePrintFlag(String businessId, String BusinessType, String userId);

}
